package mango.web.client.admin;

import com.google.gwt.user.client.rpc.IsSerializable;

public class FlowerResultVo implements IsSerializable {
	public Integer flowerYear;
	public Integer flowerMonth;

	public Double treeTotal = 0.0;
	public Double treeFlower = 0.0;

	public Double getPercent() {
		if (treeTotal == 0) return 0.0;
		return (100.0 * treeFlower) / treeTotal;
	}
}
